home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / 42 ƒ / 42_plugin_ball.h < prev    next >
Encoding:
Text File  |  1999-06-26  |  462 b   |  23 lines  |  [TEXT/CWIE]

  1. // 42_plugin_ball.h
  2.  
  3. extern forty_two_plugin_api    plugin_ball;
  4.  
  5. #define BALL_COLOR 1
  6.  
  7. typedef struct{
  8.     long            color;
  9.     unsigned long *    ball_base;
  10.     short            rowbytes;
  11. }tBallData, *tBallPtr, **BallHand;
  12.  
  13.  
  14. int ball_init(void);
  15. int ball_kill(void);
  16. int ball_ipc(int sel, unsigned long msg);
  17. int ball_idle(void);
  18.  
  19. void ball_color(unsigned long color);
  20. void ball_reset();
  21. void draw_ball_line(vector unsigned short line, vector unsigned char * ptr);
  22. void next_ball(void);
  23.